/* styles.css */

/* 设置整个文档的高度为100%，去除默认的边距 */
html,
body {
    margin: 0; /* 去除默认的上、右、下、左外边距 */
    height: 100%; /* 设置高度为视口高度的100% */
}




/* 容器组样式，用于包含所有主要内容 */
.container-group {
    height: 100%; /* 设置高度为视口高度的100% */
    display: flex; /* 使用弹性盒模型布局 */
    flex-direction: column; /* 子元素垂直排列 */
}




/* 地图容器样式 */
#mapDiv {
    width: 85% !important; /* 设置宽度为父容器的100%，优先级最高 */
    min-height: 0; /* 最小高度为0，允许收缩 */
}





/* 表格链接容器样式 */
.table-link-container {
    width: 93%; /* 设置宽度为父容器的100% */
    box-sizing: border-box; /* 包括内边距和边框在内的总宽度等于设置的宽度 */
    height: 80vh; /* 固定为视口高度的100% */
}




/* 在屏幕宽度大于768px且横屏或屏幕宽度大于1024px时应用以下样式 */
@media (min-width: 768px) and (orientation: landscape),
(min-width: 1024px) {
    .container-5-6 {
        flex-direction: row; /* 子元素水平排列 */
    }

    .container[data-number="5"],
    .container[data-number="6"] {
        flex: 0 0 50%; /* 每个容器占据50%的宽度 */
    }
}












/* 页眉样式 */
.header {
    display: flex; /* 使用弹性盒模型布局 */
    justify-content: space-between; /* 左右两端对齐 */
    align-items: center; /* 垂直居中对齐 */
    background-color: #333; /* 背景色为深灰色 */
    color: white; /* 文字颜色为白色 */
    padding: 10px 20px; /* 内边距为上下10px，左右20px */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

/* 页眉中的超链接样式 */
.header a {
    color: white; /* 文字颜色为白色 */
    text-decoration: none; /* 去掉下划线 */
    margin-left: 15px; /* 左侧外边距为15px */
}

/* 鼠标悬停在页眉超链接上的样式 */
.header a:hover {
    text-decoration: underline; /* 显示下划线 */
}














<style>
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f;
}
.header div:first-child {
    display: flex;
    align-items: center;
}
.header img {
    height: 50px;
    vertical-align: middle;
    border-radius: 10px;
    margin-right: 10px;
}
.header span {
    vertical-align: middle;
    font-size: 18px;
}
.header a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
}
.header a:hover {
    text-decoration: underline;
}
</style>









/* 全景图容器样式 */
.embed-container-1-5 {
    width: 100%; /* 设置宽度为父容器的100% */
    overflow: hidden; /* 隐藏溢出的内容 */
    position: relative; /* 相对定位 */
}

/* 全景图 iframe 样式 */
.embedded-website-1-5 {
    width: 100%; /* 设置宽度为父容器的100% */
    height: 100%; /* 设置高度为父容器的100% */
    border: none; /* 去掉边框 */
}





/* 模态框背景样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed; /* 固定定位 */
    z-index: 1; /* 层级为1 */
    left: 0; /* 左边缘与视口左侧对齐 */
    top: 0; /* 上边缘与视口顶部对齐 */
    width: 100%; /* 设置宽度为视口宽度的100% */
    height: 100%; /* 设置高度为视口高度的100% */
    overflow: auto; /* 允许滚动 */
    background-color: rgb(0, 0, 0); /* 背景色为黑色 */
    background-color: rgba(0, 0, 0, 0.4); /* 背景色为半透明黑色 */
}

/* 模态框内容样式 */
.modal-content {
    background-color: #fefefe; /* 背景色为浅灰色 */
    margin: 15% auto; /* 外边距为上下15%，左右自动 */
    padding: 20px; /* 内边距为20px */
    border: 1px solid #888; /* 边框为1像素宽的灰色 */
    width: 80%; /* 设置宽度为视口宽度的80% */
    max-width: 600px; /* 最大宽度为600px */
}

/* 关闭按钮样式 */
.close {
    color: #aaa; /* 文字颜色为淡灰色 */
    float: right; /* 浮动到右侧 */
    font-size: 28px; /* 字体大小为28px */
    font-weight: bold; /* 加粗字体 */
}

/* 鼠标悬停在关闭按钮上的样式 */
.close:hover,
.close:focus {
    color: black; /* 文字颜色为黑色 */
    text-decoration: none; /* 去掉下划线 */
    cursor: pointer; /* 鼠标指针变为手型 */
}











/* 标题样式 */
p {
    text-align: center;
    width: 80%;
    margin: 20px auto; /* 上下20px，左右自动（居中） */
    font-size: 1.5em; /* 可选：调大字号 */
  }
  
  /* 天地图容器样式 */
  #mapDiv {
    width: 80%;      /* 宽度80% */
    height: 75vh;    /* 高度75%视口高度 */
    margin: 0 auto;  /* 水平居中 */
    border: 1px solid #ddd; /* 可选：加边框 */
  }















  

  
  /* 房价图容器样式 开始 */
/* 原图样式 */
.banner-image {
    max-width: 20%;
    height: auto;
    cursor: pointer;
    display: block;
    margin: 0 auto;
  }
  
  /* 模态框样式 */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    cursor: pointer; /* 点击任意位置关闭 */
  }
  
  /* 图片样式（关键改进） */
  .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: default; /* 防止图片继承父级cursor */
  }
  
  /* 去除黑边技巧 */
  body {
    margin: 0;
    overflow-x: hidden;
  }
    /* 房价图容器样式 结束 */















    h1 {
        color: #0b08e6;
        text-align: center;
        font-size: 36px; /* 文字大小设为36像素，比默认（约16px）明显增大 */
    }